package com.learn.core.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @auther CodeGenerator
 * @create 2021-03-13 23:00:30
 * @describe 报名表实体类
 */
@TableName("l_enroll")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LEnroll对象", description="报名表")
public class LEnroll implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "enroll_id", type = IdType.AUTO)
    private Integer enrollId;

    @ApiModelProperty(value = "课程")
    @TableField("course_id")
    private Integer courseId;

    @ApiModelProperty(value = "状态")
    @TableField("stutes")
    private String stutes;

    @ApiModelProperty(value = "进度")
    @TableField("speed")
    private String speed;

    @ApiModelProperty(value = "完成学时")
    @TableField("finish_hours")
    private Double finishHours;

    @ApiModelProperty(value = "成绩")
    @TableField("achievement")
    private Double achievement;

    @TableField("create_time")
    private Date createTime;

    @TableField("create_user")
    private String createUser;

    @TableField("update_time")
    private Date updateTime;

    @TableField("update_user")
    private String updateUser;

    @TableField("user_id")
    private Integer userId;

    @TableField(exist = false)
    private String courseCount;

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private String organizationName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    public String getCourseCount() {
        return courseCount;
    }

    public void setCourseCount(String courseCount) {
        this.courseCount = courseCount;
    }

    public Integer getEnrollId() {
        return enrollId;
    }

    public LEnroll setEnrollId(Integer enrollId) {
        this.enrollId = enrollId;
        return this;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public LEnroll setCourseId(Integer courseId) {
        this.courseId = courseId;
        return this;
    }

    public String getStutes() {
        return stutes;
    }

    public LEnroll setStutes(String stutes) {
        this.stutes = stutes;
        return this;
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }

    public Double getFinishHours() {
        return finishHours;
    }

    public LEnroll setFinishHours(Double finishHours) {
        this.finishHours = finishHours;
        return this;
    }

    public Double getAchievement() {
        return achievement;
    }

    public LEnroll setAchievement(Double achievement) {
        this.achievement = achievement;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public LEnroll setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getCreateUser() {
        return createUser;
    }

    public LEnroll setCreateUser(String createUser) {
        this.createUser = createUser;
        return this;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public LEnroll setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public LEnroll setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
        return this;
    }

    public Integer getUserId() {
        return userId;
    }

    public LEnroll setUserId(Integer userId) {
        this.userId = userId;
        return this;
    }

    @Override
    public String toString() {
        return "LEnroll{" +
        "enrollId=" + enrollId +
        ", courseId=" + courseId +
        ", stutes=" + stutes +
        ", speed=" + speed +
        ", finishHours=" + finishHours +
        ", achievement=" + achievement +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", updateTime=" + updateTime +
        ", updateUser=" + updateUser +
        ", userId=" + userId +
        "}";
    }
}